.p-organization {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 18px 24px;
  background-color: #fff;

  // height: 100%;
  &-title-box {
    display: flex;
    justify-content: space-between;
    align-items: center;

    &-page-title {
      flex: 0;
      margin-bottom: 24px;
      color: #1e1f23;
    }
  }

  &-content-wrapper {
    display: flex;
    flex: 1;

    .org-tree {
      // height: 200px;
      flex: 0.3;
      border-right: 1px solid #d9dde1;

      .button-box {
        display: flex;
        padding: 12px 24px;
      }
    }

    .staff-list {
      height: 200px;
      flex: 1;
      // background: #ddd;
    }
  }

  &-operations {
    flex: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  &-body {
    flex: 1;
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    margin-top: 24px;
    overflow-x: auto;

    &::-webkit-scrollbar {
      width: 4px;
      height: 4px;
    }

    .lane {
      display: flex;
      position: relative;
      flex-direction: column;
      flex: 0 0 25%;
      box-sizing: border-box;
      height: 100%;
      overflow-y: auto;

      border-left: 1px solid rgba(203, 209, 218, 0.5);

      transition: width 0.1s;

      &:first-child {
        // margin-left: -12px;
        border-left-color: #ffffff;
      }

      .org-level-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        padding: 0 12px;
        height: 32px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;

        .org-level {
          font-size: 14px;
          font-weight: 400;
          color: rgba(105, 108, 120, 1);
        }

        .site-count {
          font-size: 12px;
          color: rgba(153, 158, 168, 1);
        }
      }

      .orgs {
        flex: 1;
        margin-top: 32px;
        padding: 0 12px;
        overflow-y: auto;

        &::-webkit-scrollbar {
          width: 1px;
          height: 1px;
        }
      }
    }
  }

  .ant-empty-image img {
    width: 100%;
    max-height: 240px;
  }

  .ant-spin-nested-loading {
    width: 100%;
  }
}

.p-organization-gap-line {
  width: 100%;
  height: 1px;
  background-color: #d9dde1;
}

.p-organization-tree-wrapper {
  overflow: auto;
  height: calc(100vh - 280px);

  .ant-tree.ant-tree-block-node li .ant-tree-node-content-wrapper {
    width: calc(100% - 48px);
  }

  .ant-tree-treenode-switcher-open {
    // .ant-tree-node-content-wrapper{
    //   width: 82%;
    // }
    // .tree-node-title {
    //   width: 100%;
    //   display: inline-flex;
    //   justify-content: space-between;
    // }
    // .drop-down-wrapper {
    //   cursor: pointer;
    //   display: none;
    // }
    // &:hover {
    //   .drop-down-wrapper {
    //     display: block;
    //   }
    // }
    // .ant-tree-title {
    //   .ant-dropdown-menu {
    //    padding: 0 10px;
    //   }
    // }
  }
}
